Skip to main content

Prerequisites

On Debian/Ubuntu:

CMake flags

Pass flags to the initial cmake -B build invocation. CPU build example
CUDA build example

Environment variables

Set these in the shell before invoking llama-server or any other tool.
The only fully supported compute backends are CPU (AVX2 or better, ARM NEON or better) and CUDA. ROCm, Vulkan, and Metal are available but not actively maintained.